<template>
	<div>

		<div class="head-top">
			<mt-header title="关于我们">
				<router-link to="/set" slot="left">
					<mt-button icon="back"></mt-button>
				</router-link>
			</mt-header>
		</div>

		<div class="abutus">
			<div class="njsw-logo">
				<img src="../../../../static/imgs/set-logo.png" alt="" />
			</div>

			<p v-text="datalist.enterpriseName"></p>
			<p>Ver1.0</p>
			<p v-html="datalist.enterpriseIntroduction"></p>
			<p>服务协议</p>
			<p class="ptext" v-text="datalist.enterpriseWebSite"></p>
		</div>

	</div>
</template>

<script>
	
	import api from './../../../api/api.js'
	

	export default {
		name: 'message',
		data() {
			return {
				datavalue: '',
				datalist:[],
			}
		},
		created() {
			
		 	this.datavalue = this.formatDate(new Date().getTime());	
			this.getdata();
		},
		methods: {
			getdata() {
				this.$http({
						method: 'post',
						url: api.baseURL + 'getOrgInfoByOrgId',
						params: {
							inParam: {
								time: this.datavalue,
								sysCode: "FH_PUBOPE",
								accId: "1"
							}
						}
					})
					.then(response => {
						this.datalist = response.data.data;
						
						console.log(this.datalist)
					})
					.catch(error => {
						console.log(error);
						alert(error)

					});
			},
		}

	}
</script>

<style scoped>
	/*head style*/
	
	.mint-header {
		height: 44px;
		background-color: #e60012;
		font-size: 18px;
	}
	
	.mint-cell {
		min-height: 60px;
	}
	
	.mint-cell-value .explain {
		margin-right: 10px;
	}
	
	.head-top {
		margin-bottom: 18px;
	}
	
	.abutus .njsw-logo {
		display: flex;
		justify-content: center;
		margin-top: 80px;
	}
	
	.abutus p {
		text-align: center;
		margin-top: 12px;
		word-wrap:break-word;
		padding: 0 15px;
	}
	
	.abutus p:nth-of-type(1) {
		font: 18px/18px "microsoft yahei";
	}
	
	.abutus p:nth-of-type(2) {
		font: 16px/16px "microsoft yahei";
	}
	
	.abutus p:nth-of-type(3) {
		font: 14px/14px "microsoft yahei";
	}
	
	.abutus p:nth-of-type(4) {
		font: 16px/16px "microsoft yahei";
		margin-top: 42vh;
		color: #3cba78;
	}
	.abutus p:nth-of-type(5) {
		font: 16px/16px "microsoft yahei";
		margin-bottom: 15px;
	}
</style>